package com.xn.example.controller;

import com.xn.example.service.ProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

    @Autowired
    ProviderService providerService;
    @RequestMapping("test")
    public String test(@RequestParam String name){
        return providerService.test01(name);
    }
}
